<template>
  <view class="point" v-if="show">
    <image src="/static/other/kongshuju.jpg" mode="widthFix"></image>
    <text>{{ title }}</text>
  </view>
</template>

<script setup>
const props = defineProps({
  show: {
    type: Boolean,
    default: false,
  },
  title: {
    type: String,
    default: "你还没有订单数据",
  },
});
</script>

<style lang="scss" scoped>
.point {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200rpx;
  color: #858585;
}
.point image {
  display: block;
  width: 230rpx;
  height: 230rpx;
}
</style>
